package test.scheduler;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * <pre>
 * Class : collector.schedule.Collector4Cim / Collector4Cim.java
 * 	Define Class Object : Quartz XML 설정 정보를 이용한 배치 스케쥴 실행
 * 	RunMeJobA ==> RunMeJob 
 * <br>
 * </pre>
 * @author ytjeong / apexcns,Inc.
 * @version 1.0
 * @see javadoc
 * @since 2012. 9. 12.
 */
public class Collector4Cim {

	@SuppressWarnings("unused")
	private static Logger _log = LoggerFactory.getLogger(Collector4Cim.class);
	@SuppressWarnings("unused")
	private static final String _LogPrefixStr = "col Log> ";
	
    	public static void main(String[] args) throws Exception {
	    Collector4Cim ownClass = new Collector4Cim();
	    ownClass.doMain();
	}
	
	/**
	 * <pre>
	 * 배치 스케줄러에 의해 주기적으로 실행될 때 호출됨. 
	 * <br>
	 * void
	 * </pre>
	 */
	public void doMain() throws Exception {
		new ClassPathXmlApplicationContext("Spring-Quartz.xml");
	}
}